package com.zhr.tea.utils;

import com.zhr.tea.entity.User;

/**
 * Created by zhang on 2016/11/1.
 */

public class IsLogin {


    public static User user;

    private IsLogin() {
    }

    public static boolean isLogin = false;


    public static void Login(User u) {
        user = u;
        isLogin = true;
    }

    public static void Exit() {
        user = null;
        isLogin = false;
    }
}
